package net.lahuobao.finance.exception;

/**
 * Created by Frank on 1/14/2015.
 * 已知的异常
 */
public abstract class GivenException extends Exception {

    public GivenException() {

    }

    private int code;

    public GivenException(String message) {
        super(message);
    }

    public int getCode() {
        return this.code;
    }

    public void setCode(int value) {
        this.code = value;
    }

    /*
    private  String message;
    @Override
    public String getMessage() {
        return message;
    }*/

}
